package com.prs.crm.dao.crm.impl;

import java.util.Collection;

import org.hibernate.Criteria;

import com.prs.crm.dao.crm.ProvinceDao;
import com.prs.crm.dao.impl.BaseDaoImpl;
import com.prs.crm.domain.crm.Province;

public class ProvinceDaoImpl extends BaseDaoImpl<Province> implements
		ProvinceDao {

	@Override
	public Collection<Province> getAll() {
		Criteria criteria = this.getSession().createCriteria(Province.class);		
		return criteria.list();
	}

}
